package cn.taoticket.service;

import cn.taoticket.pojo.TaoticketUser;
import cn.taoticket.vo.QueryLinkUserVo;
import cn.taoticket.vo.TTUserVO;

import java.util.List;


public interface TaoTicketUserService {
    /**
     * 用户登录
     */
    Object[] login(TaoticketUser taoticketUser) throws Exception;

    /**
     * 获取token获取当前登录的用户信息
     */
    TTUserVO loadCurrentUserByTokenAsTaoticketUserVo(String user_token) throws Exception;

    /**
     * 根据当前用户id查找常用联系人信息
     */
     List<QueryLinkUserVo> findLinkUserByUserId(Long userId) throws Exception;
}
